//
//  ViewController.m
//  UI
//
//  Created by blue on 15-11-2.
//  Copyright (c) 2015年 ldx. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController int date;
- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor=[UIColor redColor];
    UILabel *l=[[UILabel alloc]initWithFrame:(CGRectMake(50, 200, 100, 44))];
    l.text =@"你好,世界";
    l.textColor = [UIColor greenColor];
    [self.view addSubview:l];
    for (int i=0; i<5; i++) {
        UIView *v=[[UIView alloc]initWithFrame:CGRectMake(i*50+i*10,100,50,50)];
        v.backgroundColor = [UIColor greenColor];
        [self.view addSubview:v];
    }
}

        date = @[@"安娜",@"安羽"];

        

-(NSInteger)numberOfSectionsInTablew:(UITableView *)
tableView
{
    return date count;
}
-(UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell * cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:nil];
}
    



























- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
